package com.test.moshi.zuhe;

public class ThridClass extends SecondClass implements SecondRoot {
    //此时居然不需要重写secondroot里面的集成root的接口，说明是同一个，这也是组合模式基础

    @Override
    public void print() {
        System.out.println("thrid class");
    }
}
